package org.anderground.app;

import org.anderground.app.activity.StateStack;
import org.anderground.core.Logger;

import android.app.Application;
import android.content.res.Configuration;

/**
 * @author Eldar Abusalimov
 */
public class AndergroundApp extends Application {

	private StateStack stateStack = new StateStack(this);

	@Override
	public void onCreate() {
		super.onCreate();
		Logger.i("------- Anderground Launch -------");
	}

	@Override
	public void onConfigurationChanged(Configuration newConfig) {
		super.onConfigurationChanged(newConfig);
	}

	@Override
	public void onTerminate() {
		super.onTerminate();
	}

	/**
	 * @return the stateStack
	 */
	public StateStack getStateStack() {
		return stateStack;
	}

}
